package HandshakeJoin;

import java.util.List;
import org.apache.s4.base.Event;
import org.apache.s4.base.KeyFinder;
import com.google.common.collect.ImmutableList;

public class JoinResultKeyFinder implements KeyFinder<JoinResult>
{
    @Override
    public List<String> get(final JoinResult result) {
        return ImmutableList.of(result.getJoinId());
    }
}